<template>
	<view>
		<view v-html="computedValue"></view>
	</view>
</template>

<script>
	import {
		marked
	} from 'marked'
	export default {
		name: "MdRender",
		data() {
			return {

			};
		},
		props: ['md_view'],
		computed: {
			computedValue() {
				// 在这里进行计算，比如对传入的数据进行求和
				return marked(this.md_view)
			},
		},
	}
</script>

<style>
	
</style>